<?php
/**
 * @file
 * widget.tpl.php
 *
 * binhluan widget theme for Vote Up/Down
 */
?>
<div class='vud-widget vud-widget-binhluan clearfix' id='<?php print $id; ?>'>
  <?php if ($class_up) : ?>
    <div class='binhluan-votes-display'><?php print $unsigned_points; ?> ung ho</div>
    <?php if ($show_links){ ?>
      <?php if ($show_up_as_link): ?>
        <a href='<?php print $link_up; ?>' rel='nofollow' class='<?php print $link_class_up; ?>'>
      <?php endif; ?>
          <div class='<?php print $class_up; ?>'>+1</div>
      <?php if ($show_up_as_link): ?>
        </a>
      <?php endif; ?>
    <?php } else { ?>
    	<div class='loginuh'><a href='/user/login' title='Đăng nhập'>Đăng nhập</a></div>
    <?php } ?>
  <?php endif; ?>
</div>
